<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>数组转换为字符串</title>
		<script type="text/javascript">
			var str = '';
			var arr = ['a','b','c'];
			for(var i = 0;i < arr.length; i++) {
				str += arr[i] + '\\';
			}
			console.log(str);
		</script>
	</head>
	<body>
	</body>
</html>
